import React, {Component} from 'react'
import {Link} from 'react-router-dom'

export default class NowplayingFilmList extends Component {
	constructor(){
		super();
		
	}
	render(){
		return(
			<ul>
				{
					this.state.filmList.map((item,index)=>{
						return(
							<li key={index}>
								<div class="left img">									
									<img src={item.imgpath} />
								</div>
								<div class="film-introduce left">
									<h4>
										{item.name}
										<span class="right">{item.grade}<i>&gt;</i></span>
									</h4>
									<p>{item.intro}</p>
									<p><span>{item.cinemaCount}家影院上映</span> <span>{item.watchCount}人购票</span></p>
								</div>
							</li>
						)
					})
				}	
			</ul>
		)
	}
}
